home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 45 / PCPP45A.iso / utils / xqxset55 / _SETUP.2 / Group3 / XQ Gooey 4.xpl < prev    next >
Encoding:
XSetup plugin  |  1999-10-13  |  1.6 KB  |  73 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="4"
  4. "UIPATH"="Internet\Instant Messaging\GOOEY"
  5. "NAME"="Proxy Settings"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.04"
  8. "TEXT 1"="Proxy URL"
  9. "TEXT 2"="Proxy Port"
  10. "TEXT 3"="Proxy User"
  11. "TEXT 4"="Proxy Password"
  12. "DESCRIPTION 1"="You can use this plug-in to change the proxy options for GOOEY."
  13. "DESCRIPTION 2"="NOTE: In order to apply these changes, you need to activate "Enable Proxy Server" option inside "GOOEY General Options"."
  14. "DESCRIPTION 3"="Gooey may be obtained at http://www.gooey.com/"
  15. "AUTHOR"="Xteq Systems"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  18. "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
  19.  
  20.  
  21. sPath="HKEY_CURRENT_USER\Software\Hypernix\Gooey\Network\"
  22. sV1="ProxyServer"
  23. sV2="PortNumber"
  24. sV3="ProxyUserName"
  25. sV4="ProxyUserPassword"
  26.  
  27. Sub Plugin_Initialize 
  28.  if RegPathExists(sPath) then
  29.     s=RegReadValue(sPath & sV1)
  30.     SetUIElement 1,s
  31.  
  32.     s=RegReadValue(sPath & sV2)
  33.     SetUIElement 2,s
  34.  
  35.     s=RegReadValue(sPath & sV3)
  36.     SetUIElement 3,s
  37.  
  38.     s=RegReadValue(sPath & sV4)
  39.     SetUIElement 4,s
  40.  
  41.  else
  42.     Disable
  43.  end if
  44. End Sub
  45.  
  46.  
  47. Sub Plugin_CheckData(ElementIndex)
  48. End Sub
  49.  
  50.  
  51.  
  52. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  53.  s=GetUIElement(1)
  54.  Call RegWriteValue(sPath & sV1,s,1)
  55.  
  56.  s=GetUIElement(2)
  57.  Call RegWriteValue(sPath & sV2,s,1)
  58.  
  59.  s=GetUIElement(3)
  60.  Call RegWriteValue(sPath & sV3,s,1)
  61.  
  62.  s=GetUIElement(4)
  63.  Call RegWriteValue(sPath & sV4,s,1)
  64.  
  65. End Sub
  66.  
  67.  
  68. Sub Plugin_Terminate 
  69. End Sub
  70.  
  71.  
  72.  
  73.